import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { HttpClientModule } from '@angular/common/http';
import { LocationStrategy, HashLocationStrategy } from '@angular/common';

import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { HttpSerice } from './service/https.sercice';
import { HttpPcSerice } from './service/https.pc.sercice ';
import { HttpsObService } from './service/https.ob.service';
import { BaseService } from './service/base.service';
import { DateService } from './service/date.service';
import { UserService } from './service/user.service';
import { ClipboardModule } from 'ngx-clipboard';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';

@NgModule({
  declarations: [AppComponent],
  imports: [
    BrowserModule,
    AppRoutingModule,
    HttpClientModule,
    BrowserAnimationsModule,
    ClipboardModule,
  ],
  providers: [
    { provide: LocationStrategy, useClass: HashLocationStrategy },
    HttpSerice,
    BaseService,
    DateService,
    HttpPcSerice,
    UserService,
    HttpsObService,
  ],
  bootstrap: [AppComponent],
})
export class AppModule {}
